package tk.mybatis.mapper.custom.select;

import org.apache.ibatis.annotations.SelectProvider;
import tk.mybatis.mapper.annotation.RegisterMapper;
import tk.mybatis.mapper.custom.select.provider.CustomSelectProvider;

import java.util.Collection;
import java.util.List;

/**
 * @author wangbin
 */
@RegisterMapper
public interface CustomSelectByPrimaryKeyMapper<T> {
    @SelectProvider(type = CustomSelectProvider.class, method = "dynamicSQL")
    List<T> selectByPrimaryKeyList(Collection<?> key);
}
